package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.entity.Setmeal;
import com.itheima.reggie.entity.dto.PageDto;
import com.itheima.reggie.entity.dto.SetmealDTO;
import com.itheima.reggie.web.R;

import java.util.List;

/**
 * 套餐业务层接口
 * @Author Vsunks.v
 * @Blog blog.sunxiaowei.net
 * @Description: 套餐业务层接口
 */
public interface SetmealService extends IService<Setmeal> {
    R saveWithDishes(SetmealDTO setmealDTO);

    R<Page<SetmealDTO>> pageWithCategoryName(PageDto pageDto);

    R removeByIdsWithDetails(Long[] ids);

    R<List<Setmeal>> listByConditions(Setmeal setmeal);
}
